<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue 测试实例 - 菜鸟教程(runoob.com)</title>
<script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.min.js" type="application/javascript"></script>
<script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>


</head>
<body>
<div id="app">
    <h1>网站列表</h1>
    <h1>当前时间1：{{currentTime1()}}</h1>
    <h1>当前时间2：{{currentTime2}}</h1>

</div>
<script type = "text/javascript">
    new Vue({
        el: '#app',
        data:{
            message: "hello, Vue"
        },
        methods: {
            currentTime1: function() {
                return Date.now();
            }
        },
        computed: {
            currentTime2: function() {
                return Date.now();
            }
        },
    })
</script>
</body>
</html>